package com.fast.fast.common.gateway.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fast.fast.common.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 系统角色权限关联表
 *
 * @author lyf
 * @TableName sys_role_perm
 * @date 2022/01/01 00:00 周六
 */
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_role_perm")
@Data
public class SysRolePerm extends BaseEntity implements Serializable {

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 系统角色ID
     */
    private Long roleId;

    /**
     * 系统权限ID
     */
    private Long permId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
